package com.boe.hbd.server.util;

import java.io.IOException;
import java.util.Properties;


public class PropertiesUtil {
	private PropertiesUtil() {
	}

	private static Properties props;
	static {
		props = new Properties();
		try {
			props.load(PropertiesUtil.class
					.getResourceAsStream("/conf.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	public static String getProperty(String key) {
		return (String) props.get(key);
	}

}
